import request from '@/utils/request.js'
import apis from '@/utils/api'
/**
 * @param {Object} params
 * 权限列表
 */
export function getAuthList(params) {
    return request.globalRequest(apis.getAuthList, 'POST', params)
}
export function addAuthList(params) {
    return request.globalRequest(apis.addAuthList, 'POST', params)
}
export function delAuthList(params) {
    return request.globalRequest(apis.delAuthList, 'POST', params)
}
export function updateAuthList(params) {
    return request.globalRequest(apis.updateAuthList, 'POST', params)
}
export function checkExistAuth(params) {
    return request.globalRequest(apis.checkExistAuth, 'POST', params)
}


export default {
	getAuthList,
	addAuthList,
	delAuthList,
	updateAuthList,
	checkExistAuth,
}